﻿using com.nm.Attributes;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TerminalAPI.models
{
   public class ShelfDispalyModel
    {
        public class ReportSKCModel : CreateModel
        {
            [ParamDescription("店铺代号")]
            public string ShopCode { get; set; }
            [ParamDescription("店铺名称")]
            public string ShopName { get; set; }
            [ParamDescription("零售区域")]
            public string OperationAreaName { get; set; }
            [ParamDescription("商品区域")]
            public string ParentAreaName { get; set; }
        }
        public class ListModel : ModifyModel
        {
            [ParamDescription("图片地址")]
            public string ImageUrl { get; set; }

            [ParamDescription("创建时间")]
            public DateTime CreateDate { get; set; }

            [ParamDescription("删除标识")]
            public bool IsRemove { get; set; }

            [ParamDescription(" 货架编号")]
            public string GSCode { get; set; }

            [ParamDescription("货架名称")]
            public string GSName { get; set; }
        }

        public class ModifyModel : CreateModel
        {
            [ParamDescription("ID")]
            public int SDID { get; set; }
        }

        public class CreateModel
        {
            [ParamDescription("年份")]
            public string Year { get; set; }

            [ParamDescription("季节")]
            public string Season { get; set; }

            [ParamDescription("陈列类别")]
            public string Category { get; set; }

            [ParamDescription("货架ID")]
            public int GSID { get; set; }

            [ParamDescription("A级陈列标准SKC")]
            public int ASKC { get; set; }

            [ParamDescription("B级陈列标准SKC")]
            public int BSKC { get; set; }

            [ParamDescription("C级陈列标准SKC")]
            public int CSKC { get; set; }

            [ParamDescription("陈列明细")]
            public IList<CreateDetailModel> GoodDetails { get; set; }

        }

        public class CreateDetailModel
        {
            [ParamDescription("系列")]
            public string Series { get; set; }

            [ParamDescription("商品层")]
            public string CommodityLayer { get; set; }

            [ParamDescription("品类")]
            public string Category { get; set; }

            [ParamDescription("备注")]
            public string Memo { get; set; }

            [ParamDescription("ID")]
            public int SDDID { get; set; }

            [ParamDescription("最低出样件数")]
            public int Minimum { get; set; }

            [ParamDescription("最高出样件数")]
            public int Maximum { get; set; }

            [ParamDescription("标准出样件数")]
            public int Avgximum { get; set; }
        }
    }
}


